#import <UIKit/UIKit.h>
#import "JPMessageModel.h"

#define TEXT_FONT [UIFont systemFontOfSize:14] //统一设置消息按钮的字体

@interface JPMessageFrame : NSObject

/**
 *  所有控件的frame都是根据文本信息,来确定大小方位的,所以需要传入实例模型数据
 */
@property(assign,nonatomic,readonly) CGRect timeF;
@property(assign,nonatomic,readonly) CGRect textF;
@property(assign,nonatomic,readonly) CGRect iconF;

@property(assign,nonatomic,readonly) CGFloat rowH;

@property(strong,nonatomic)JPMessageModel *msgM;


@end
